<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>添加考试</title>
<script type="text/javascript" src="My97DatePicker/CurTime.js">
	
</script>
<script type="text/javascript" type="text/javascript"
	src="My97DatePicker/WdatePicker.js">
	
</script>
</head>
<body>
	<header>编辑考试信息</header>
	<form action="TeacherServlet" method="post"  enctype="multipart/form-data">
		<input type="hidden" value="tjKaoshi" name="method">
		<table>
			<tr>
				<td>考试名称：</td>
				<td><input width="200px" value="Java考试" type="text" name="exam_name"></td>
			</tr>
			<tr>
				<td>开始时间:</td>
				<td><input width="100px" class="Wdate" id="dateSelect"
					name="dateSelect" type="text"
					onfocus="WdatePicker({isShowClear:false,readOnly:true,isShowToday:true,dateFmt:'yyyy-MM-dd HH:mm:ss'})"></td>
			</tr>
			<tr>
				<td>考试时长:(分钟)</td>
				<td><input width="200px" value="90" type="text" name="duration"></td>
			</tr>
			<tr>
				<td>上传试卷</td>
				<td><input type="file" id="btn_addPaper" name="shijuan"/></td>
			</tr>
			<tr>
				<td colspan="2"><input type="submit" value="添加"></td>
			</tr>
		</table>
	</form>
	<script type="text/javascript">
		document.getElementById("dateSelect").value = today();
	</script>
</body>
</html>